// 表格列配置项
export const column = [
  { prop: "contNo", label: "容器编号" },
  { prop: "contName", label: "容器名称" },
  { prop: "contType", label: "容器类型" },
  { prop: "statusLabel", label: "状态" },
  { prop: "zoneName", label: "所属库区", showOverflow: true },
  { prop: "createName", label: "创建者" },
  { prop: "createDate", label: "创建时间", width: "180px" },
  { prop: "updateName", label: "更新者" },
  { prop: "updateDate", label: "更新时间", width: "180px" },
  { prop: "comments", label: "备注信息" ,showOverflow: true},
  { prop: "operate", label: "操作", fixed: "right", type: 'detail' },
]
export const data = {
  form: {},
  queryParams: {
    total: 0,
    dateRange: [],
    pageNum: 1,
    pageSize: 10,
    contNo: null,
    contName: null,
    contType: null,
    contStatus: null,
    status: null,
    createName: null,
    comments: null,
  },
  rules: {
    contNo: [{ required: true, message: "容器编号不能为空", trigger: "blur" }],
    contType: [
      { required: true, message: "容器类型不能为空", trigger: "blur" },
    ],
  },
}

export const formList = [
  { prop: "contNo", label: "容器编号" },
  { prop: "contName", label: "容器名称" },
  { prop: "contType", label: "容器类型", type: 'select' },
  { prop: "contStatus", label: "容器状态", type: 'select' },
  { prop: "comments", label: "备注信息" },
  { prop: "createName", label: "创建者" },
  { prop: "createDate", label: "创建时间", type: 'date' },
]